<% content_for :title, t(:rename_file) -%>

<h1><%= content_for :title %></h1>
<%= form_for @file, :url => { :action => 'update' } do |f| %>
  <%= f.error_messages %>
  <p>
    <%= f.label :name %>:<br>
    <%= f.text_field :attachment_file_name %>
  </p>
  <p>
    <%= f.submit t(:save) %> &nbsp; &mdash; &nbsp;
    <%= link_to t(:back), @folder %>
  </p>
<% end %>
